package cn.demoncat.util.word.entity;

import cn.demoncat.util.lang.constant.StatusConstant;
import cn.demoncat.util.word.constant.WordGenConstant;

/**
 * Word文档 - 内容 - 表格 - 表头
 *
 * @author 延晓磊
 * @since 2021年04月12日
 */
public class WordTableHeader {

    /**
     * 字段名：Object.attr、Map.key
     */
    private String field;
    /**
     * 字段标题：表格标题
     */
    private String title;
    /**
     * 字段宽度：百分比
     */
    private Integer width;
    /**
     * 表头对齐方式：默认WordGenConstant.Align.CENTER
     */
    private String headerAlign = WordGenConstant.Align.CENTER;
    /**
     * 表体对齐方式：默认WordGenConstant.Align.CENTER
     */
    private String bodyAlign = WordGenConstant.Align.CENTER;
    /**
     * 表头加粗：1是，0否，null是
     */
    private String headerBold = StatusConstant.Common.YES;
    /**
     * 表体加粗：1是，0否，null否
     */
    private String bodyBold = StatusConstant.Common.NO;
    /**
     * 表头颜色：RRGGBB
     */
    private String headerColor;
    /**
     * 表体颜色：RRGGBB
     */
    private String bodyColor;
    /**
     * 表头字号：WordGenConstant.FontSize
     */
    private String headerSize;
    /**
     * 表体字号：WordGenConstant.FontSize
     */
    private String bodySize;


    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public String getHeaderAlign() {
        return headerAlign;
    }

    public void setHeaderAlign(String headerAlign) {
        this.headerAlign = headerAlign;
    }

    public String getBodyAlign() {
        return bodyAlign;
    }

    public void setBodyAlign(String bodyAlign) {
        this.bodyAlign = bodyAlign;
    }

    public String getHeaderBold() {
        return headerBold;
    }

    public void setHeaderBold(String headerBold) {
        this.headerBold = headerBold;
    }

    public String getBodyBold() {
        return bodyBold;
    }

    public void setBodyBold(String bodyBold) {
        this.bodyBold = bodyBold;
    }

    public String getHeaderColor() {
        return headerColor;
    }

    public void setHeaderColor(String headerColor) {
        this.headerColor = headerColor;
    }

    public String getBodyColor() {
        return bodyColor;
    }

    public void setBodyColor(String bodyColor) {
        this.bodyColor = bodyColor;
    }

    public String getHeaderSize() {
        return headerSize;
    }

    public void setHeaderSize(String headerSize) {
        this.headerSize = headerSize;
    }

    public String getBodySize() {
        return bodySize;
    }

    public void setBodySize(String bodySize) {
        this.bodySize = bodySize;
    }
}
